package com.ruoyi.process.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 农事过程任务对象 argo_process
 * 
 * @author qhr
 * @date 2024-02-27
 */
public class ArgoProcess extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 农事过程代号 */
    private Long id;

    /** 农事过程类型 */
    @Excel(name = "农事过程类型")
    private String processType;

    /** 农事描述信息 */
    @Excel(name = "农事描述信息")
    private String processDepict;

    /** 结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createTime;

    /** 结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endTime;

    /** 投入品代号 */
    @Excel(name = "投入品代号")
    private Long inputsId;

    /** 投入品数量 */
    @Excel(name = "投入品数量")
    private Long inputsNum;

    /** 农作物名称 */
    @Excel(name = "农作物名称")
    private String cropsName;

    /** 农产品名称 */
    @Excel(name = "农产品名称")
    private String productName;

    /** 0正常,1停用 */
    @Excel(name = "0正常,1停用")
    private Long state;

    /** 0 逻辑删除,1 删除 */
    private String delFlag;

    private String inputsName;

    public String getInputsName() {
        return inputsName;
    }

    public void setInputsName(String inputsName) {
        this.inputsName = inputsName;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setProcessType(String processType) 
    {
        this.processType = processType;
    }

    public String getProcessType() 
    {
        return processType;
    }
    public void setProcessDepict(String processDepict) 
    {
        this.processDepict = processDepict;
    }

    public String getProcessDepict() 
    {
        return processDepict;
    }
    public void setEndTime(Date endTime) 
    {
        this.endTime = endTime;
    }

    @Override
    public Date getCreateTime() {
        return createTime;
    }

    @Override
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getEndTime()
    {
        return endTime;
    }
    public void setInputsId(Long inputsId) 
    {
        this.inputsId = inputsId;
    }

    public Long getInputsId() 
    {
        return inputsId;
    }
    public void setInputsNum(Long inputsNum) 
    {
        this.inputsNum = inputsNum;
    }

    public Long getInputsNum() 
    {
        return inputsNum;
    }
    public void setCropsName(String cropsName) 
    {
        this.cropsName = cropsName;
    }

    public String getCropsName() 
    {
        return cropsName;
    }
    public void setProductName(String productName) 
    {
        this.productName = productName;
    }

    public String getProductName() 
    {
        return productName;
    }
    public void setState(Long state) 
    {
        this.state = state;
    }

    public Long getState() 
    {
        return state;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("processType", getProcessType())
            .append("processDepict", getProcessDepict())
            .append("createTime", getCreateTime())
            .append("endTime", getEndTime())
            .append("inputsId", getInputsId())
            .append("inputsName", getInputsName())
            .append("inputsNum", getInputsNum())
            .append("cropsName", getCropsName())
            .append("productName", getProductName())
            .append("state", getState())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
